package decorators;
import contracts.ContractException;
import services.BlocService;
import utils.Tresor;
import utils.Type;

public class BlocDecorator implements BlocService{
	private BlocService delegate;
	
	public BlocDecorator(BlocService delegate) {
		this.delegate=delegate;
	}
	
	@Override
	public Type getType() {
		return delegate.getType();
	}

	@Override
	public Tresor getTresor() {
		return delegate.getTresor();
	}

	@Override
	public void init(Type type, Tresor tresor) throws ContractException{
		delegate.init(type, tresor);
	}

}
